@import 'src/res/theme/xxhz';

.coupon-root {
  margin: 0 auto;

  .text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .listNull {
    width: 100%;
    height: 75vw;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666
    }
  }

  .item {
    background: url("https://resource.ivcheng.com/upload/file/9945c4571e1d45f8bcc46233dca086dc.png") no-repeat;
    background-size: 108% 108%;
    background-position-x: 50%;
    background-position-y: 50%;
    height: 180px;
    overflow: hidden;
    margin: 0 20px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);

    &:first-child {
      margin-top: 15px;
    }

    .left {
      float: left;
      width: 92Px;
      //background: url("https://resource.ivcheng.com/resources/images/couponListbj.jpg") no-repeat left center;
      background-size: cover;
      color: #fe6734;
      text-align: center;
      border-radius: 20px;
      padding-top: 35px;
      padding-bottom: 50px;

      .left-top {
        line-height: 68px;
        font-size: 25px;
        vertical-align: text-bottom;
        overflow: hidden;
        height: 80px;
        font-weight: 600;

        text, .taro-text {
          font-size: 38px;
        }
      }

      .left-bottom {
        font-size: 25px;
        margin-top: -16px;
      }
    }

    .right {
      position: relative;
      overflow: hidden;
      text-align: left;
      padding-left: 2%;
      height: inherit;

      .right-name {
        font-size: 31px;
        color: #252525;
        line-height: 60px;
        padding-top: 21px;
        padding-left: 20px;
        padding-right: 20px;
        font-weight: 600;
      }

      .right-manjian, .right-yxq {
        font-size: 24px;
        color: #b1b1b1;
        //width: 290px;
        line-height: 40px;
        padding-left: 20px;
      }

      .right-yxq {
        width: 100%;
      }

      .right-receive {
        position: absolute;
        right: 20px;
        bottom: 75px;
        font-size: 24px;
        width: 135px;
        height: 50px;
        border-radius: 50px;
        text-align: center;
        line-height: 50px;
        background-color: #ffdd09;
        font-weight: 600;
        padding: 3px;
      }

      .right-receive-dis {
        background-color: #f2f3f4 !important;
      }

      .right-end {
        width: 130px;
        height: 130px;
        position: absolute;
        right: 20px;
        top: 30px;
      }

      .right-link {
        font-size: 20px;
        text-align: right;
        padding-right: 20px;
        padding-top: 20px;
        padding-bottom: 10px;
      }

      .h5_right-link {
        position: absolute;
        bottom: 2px;
        width: 93.5%;
      }

      .right-link-text {
        margin-right: 15px;
        color: #666;
      }

      .left-link-text {
        float: left;
        margin-left: 15px;
      }
    }

    &.end {
      .left {
        //background-image: url("https://resource.ivcheng.com/resources/images/redbj2.jpg") ;
      }

      .shiyong {
        background: url("https://resource.ivcheng.com/resources/images/shiyong.jpg") no-repeat 97% 15px;
        background-size: 96px 96px;
      }

      .guoqi {
        background: url("https://resource.ivcheng.com/resources/images/guoqi.jpg") no-repeat 97% 15px;
        background-size: 96px 96px;
      }
    }
  }

  .hover {
    opacity: 0.6;
  }

  .look {
    height: 64px;
    line-height: 64px;
    background: #f8e7e7;
    color: #ff0000;
    font-size: 22px;
    width: 710px;
    padding: 0 20px;
  }

  .listNull {
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 297px;
      height: 308px;
      margin: 86px auto 35px;

    }

    .text, .taro-text {
      font-size: 24px;
      color: #666;

      text, .taro-text {
        color: #f58240;
      }
    }

  }
}
